home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
04
/
4
/
DISK0440.ZIP
/
FILEFIX.DOC
< prev
next >
Wrap
Text File
|
1985-05-27
|
2KB
|
28 lines
This program takes an ASCII text file with CR/LF delimiters and
prepares it for use with WordPlus PC or PCjr. WordPlus expects its
.TXT files padded with nulls. It will not successfully allow
modification of files obtained from downloads or files generated
by EDLIN. Three versions of these programs are on the disc. Two
versions of the BASIC version are on the disk with the extension
.BAS and .ASC. These are commented internally to allow the user to
modify the program. As written, the program replaces the '@' symbol
with the WordPlus open format marker. This is consistent with the
files the program was originally designed to work with. The other two
versions, (.PAS and .COM), are the TurboPascal and Pascal object
versions respectively. The .COM version may be run directly from the
DOS prompt by typing FILEFIX. There are three possible ways to run it
from DOS. The first is to type FILEFIX at the prompt. The program
will request a filename and extension for input. The rootname and
drive will be extracted, then the extension '.FIX' will be appended.
The second method is to call the program with the input filename
separated from the program call by a space. As above, the rootname
and drive will be extracted and the extension '.FIX' will be appended.
The third method is to specify both the input and output filename from
the DOS prompt. In any case, the two names are checked to be sure they
are different, then both files are opened and the files processed.
The '.COM' version displays each line of the file as it is processed,
but the BASIC version does not. When the process is complete, the
console bell is sounded and the process terminates. The Pascal source
is commented for the benefit of those who have a Pascal compiler and
wish to modify it.